<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/global.jsp" %>
<script type="text/javascript">
    $(function() {
        $('#shopApplicationPersionAddForm').form({
            url : '${path}/shopApplicationPersion/add',
            onSubmit : function() {
                progressLoad();
                var isValid = $(this).form('validate');
                if (!isValid) {
                    progressClose();
                }
                return isValid;
            },
            success : function(result) {
                progressClose();
                result = $.parseJSON(result);
                if (result.success) {
                    //之所以能在这里调用到parent.$.modalDialog.openner_dataGrid这个对象，是因为user.jsp页面预定义好了
                    parent.$.modalDialog.openner_dataGrid.datagrid('reload');
                    parent.$.modalDialog.handler.dialog('close');
                } else {
                    var form = $('#shopApplicationPersionAddForm');
                    parent.$.messager.alert('错误', eval(result.msg), 'error');
                }
            }
        });
    });
</script>
<div class="easyui-layout" data-options="fit:true,border:false" >
    <div data-options="region:'center',border:false" style="overflow: hidden;padding: 3px;" >
        <form id="shopApplicationPersionAddForm" method="post">
            <table class="grid">  
                															                    <tr><td>自增主键</td><td><input type="text" name="id" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>用户编码</td><td><input type="text" name="userId" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>申请人名称</td><td><input type="text" name="userName" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>手机号码</td><td><input type="text" name="userPhone" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>QQ号码</td><td><input type="text" name="userQq" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>电子邮箱</td><td><input type="text" name="userEmail" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>身份征号码</td><td><input type="text" name="userCardCode" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>证书类型</td><td><input type="text" name="certificateType" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>用户昵称</td><td><input type="text" name="userNickName" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>职位名称</td><td><input type="text" name="userJobName" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>用户性别</td><td><input type="text" name="userSex" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>博客地址</td><td><input type="text" name="blogUrl" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>技能信息</td><td><input type="text" name="techologyInfo" class="easyui-numberbox"/></td></tr>
                    														                    <tr><td>个人描述</td><td><input type="text" name="userDescription" class="easyui-numberbox"/></td></tr>
                    				            </table>
        </form>
    </div>
</div>